﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    //动物类
    class Animal
    {
        public int tui;

        public int Tui
        {
            get { return this.tui; }
            set { this.tui = value; }
        }
        public void Zhoulu()
        {
            Console.WriteLine("我能走路");
        }
        public void Chifan()
        {
            Console.WriteLine("我能吃饭");
        }
        public void Shuijiao()
        {
            Console.WriteLine("我能睡觉");
        }
        public virtual void Jiao()
        {
            Console.WriteLine("我能叫");
        }
    }
}
